package org.locker.domain.vo;

import java.math.BigDecimal;
import java.util.Date;

import org.locker.domain.ManagerWithdraw;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.locker.common.excel.annotation.ExcelDictFormat;
import org.locker.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 代理商提现记录视图对象 lk_manager_withdraw
 *
 * @author winnie
 * @date 2023-10-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ManagerWithdraw.class)
public class ManagerWithdrawVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 提现ID
     */
    @ExcelProperty(value = "提现ID")
    private Long managerWithdrawId;

    /**
     * 管理员ID
     */
    @ExcelProperty(value = "管理员ID")
    private Long sysUserId;

    private String sysUserName;

    /**
     * 场地ID
     */
    @ExcelProperty(value = "场地ID")
    private Long positionId;

    private String positionName;

    /**
     * 提现单号
     */
    @ExcelProperty(value = "提现单号")
    private String withdrawNo;

    /**
     * 提现金额
     */
    @ExcelProperty(value = "提现金额")
    private BigDecimal withdrawAmount;

    /**
     * 交易成功时间
     */
    @ExcelProperty(value = "交易成功时间")
    private Date withdrawTime;

    /**
     * 状态：withdrawing 提现中,withdraw_success 提现成功,fail 失败,
     */
    @ExcelProperty(value = "状态：withdrawing 提现中,withdraw_success 提现成功,fail 失败,", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "manager_withdraw_status")
    private String withdrawStatus;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String withdrawRemark;

    /**
     * 审核状态：wait 待审核,pass 通过，refuse 拒绝
     */
    @ExcelProperty(value = "审核状态：wait 待审核,pass 通过，refuse 拒绝", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "manager_audit_status")
    private String auditStatus;

    /**
     * 审核备注
     */
    @ExcelProperty(value = "审核备注")
    private String auditRemark;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
